<?php


namespace EchoPHP\Memcached;


use EchoPHP\Foundation\ServiceProvider;
use EchoPHP\Memcached\Connector as MemcachedConnector;

class MemcachedServiceProvider extends ServiceProvider {
    protected $defer = true;

    public function register() {
        $this->app->singleton('memcached.connector', function () {
            return new MemcachedConnector();
        });
    }

    public function provides() {
        return ['memcached.connector'];
    }

}